<?php 
class CustomTestParent extends DomArObject {

	
	/**
	* @orm has children CustomTestChild inverse parent
	*/
	public $children;
	
	/**
	* @orm has parent CustomTestChild inverse children
	*/
	public $parent;

}

class CustomTestChild extends DomArObject {

	/**
	* @orm has parent CustomTestParent inverse children
	*/
	public $parent;
	
	/**
	* @orm has children CustomTestParent inverse parent
	*/
	public $children;
	

}
?>